﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public class listWebhooksResults
   {
      public string url { get; set; }
      public Dictionary<EnumValues.listWebhookActions, bool> actions { get; set; }
      public Dictionary<EnumValues.listWebhookSources, bool> sources { get; set; }

      public listWebhooksResults()
      {
         actions = new Dictionary<EnumValues.listWebhookActions, bool>();
         sources = new Dictionary<EnumValues.listWebhookSources, bool>();
      }

      public override string ToString()
      {
         return string.Format( "url: {0}", url );
      }
   }
}
